package com.yizhang.sqlSession;

import java.util.List;

/**
 * @Author: yi.zhang
 * @CreateTime: 2025-05-27 16:17:27
 * @Description:构建查询query
 */
public interface SqlSession {

    <E> List<E> selectList(String statementId, Object parameter) throws Exception;

    <T> T selectOne(String statementId, Object parameter) throws Exception;

    <T> T getMapper(Class<?> mapperClass);
}
